﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace PicturePortfolio.Domain
{
    [DataContract]
    public class PublicComment
    {
        public PublicComment()
        {
            this.CommentDate = DateTime.Now;
            this.GUID = Guid.NewGuid().ToString();
        }
        [DataMember]
        public string UserName { get; set; }

        [DataMember]
        public string Comment { get; set; }

        [DataMember]
        public DateTime CommentDate { get; set; }

        [DataMember]
        public string GUID { get; set; }

        [DataMember]
        public PhotoPersistanceObject Photo { get; set; }
    }
}
